import { createApp } from 'vue';
import { createPinia } from 'pinia';
import VueLazyload from 'vue-lazyload';
import VueAwesomeSwiper from 'vue-awesome-swiper';

import App from './App.vue';

import './assets/styles/resets.css';
import './assets/styles/border.css';
import './assets/styles/common.scss';
import './assets/styles/iconfont.css';
import './assets/styles/swiper.bundle.css';

import router from './router';
import registerGlobalComponents from './utils/registerGlobalComponents';

const vueApp = createApp(App);

vueApp.use(router);
vueApp.use(registerGlobalComponents);
vueApp.use(createPinia());
vueApp.use(VueLazyload);
vueApp.use(VueAwesomeSwiper);

vueApp.mount('#app');
